package com.treeliked.udpdemo.util;

import java.util.UUID;

/**
 * id util
 *
 * @author lss
 * @date 2019-01-03, Thu
 */
public class IdUtils {

    public static String get8UUID() {
        return UUID.randomUUID().toString().replace("-", "").substring(0, 8);
    }
}
